package com.ljkj.common.db.domain;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the zjf_goods_class database table.
 * 
 */
@Entity
@Table(name="zjf_goods_class")
@NamedQuery(name="ZjfGoodsClass.findAll", query="SELECT z FROM ZjfGoodsClass z")
public class ZjfGoodsClass implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="class_id")
	private String classId;

	@Column(name="class_display")
	private Integer classDisplay;

	@Column(name="class_icon")
	private String classIcon;

	@Column(name="class_level")
	private Integer classLevel;

	@Column(name="class_name")
	private String className;

	@Column(name="class_parent_id")
	private String classParentId;

	@Column(name="class_recommend")
	private Integer classRecommend;

	@Column(name="class_sequence")
	private Integer classSequence;

	@Column(name="class_type_id")
	private String classTypeId;

	@Column(name="create_time")
	private String createTime;

	@Column(name="create_user")
	private String createUser;

	@Column(name="disabled_state")
	private Integer disabledState;

	@Column(name="update_time")
	private String updateTime;

	@Column(name="update_user")
	private String updateUser;

	public ZjfGoodsClass() {
	}

	public String getClassId() {
		return this.classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public Integer getClassDisplay() {
		return this.classDisplay;
	}

	public void setClassDisplay(Integer classDisplay) {
		this.classDisplay = classDisplay;
	}

	public String getClassIcon() {
		return this.classIcon;
	}

	public void setClassIcon(String classIcon) {
		this.classIcon = classIcon;
	}

	public Integer getClassLevel() {
		return this.classLevel;
	}

	public void setClassLevel(Integer classLevel) {
		this.classLevel = classLevel;
	}

	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getClassParentId() {
		return this.classParentId;
	}

	public void setClassParentId(String classParentId) {
		this.classParentId = classParentId;
	}

	public Integer getClassRecommend() {
		return this.classRecommend;
	}

	public void setClassRecommend(Integer classRecommend) {
		this.classRecommend = classRecommend;
	}

	public Integer getClassSequence() {
		return this.classSequence;
	}

	public void setClassSequence(Integer classSequence) {
		this.classSequence = classSequence;
	}

	public String getClassTypeId() {
		return this.classTypeId;
	}

	public void setClassTypeId(String classTypeId) {
		this.classTypeId = classTypeId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Integer getDisabledState() {
		return this.disabledState;
	}

	public void setDisabledState(Integer disabledState) {
		this.disabledState = disabledState;
	}

	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public ZjfGoodsClass setNewObject(ZjfGoodsClass zjfGoodsClass){
		ZjfGoodsClass zjfGoodsClassNew=new ZjfGoodsClass();
		zjfGoodsClassNew.setClassId(zjfGoodsClass.getClassId());
		zjfGoodsClassNew.setClassIcon(zjfGoodsClass.getClassIcon());
		zjfGoodsClassNew.setClassName(zjfGoodsClass.getClassName());
		return zjfGoodsClassNew;
	}
}